﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FC5 RID: 4037
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueReforgeFormulaSelectResult : IMessage<RogueReforgeFormulaSelectResult>, IMessage, IEquatable<RogueReforgeFormulaSelectResult>, IDeepCloneable<RogueReforgeFormulaSelectResult>, IBufferMessage
	{
		// Token: 0x17003315 RID: 13077
		// (get) Token: 0x0600B4A9 RID: 46249 RVA: 0x001E76D1 File Offset: 0x001E58D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueReforgeFormulaSelectResult> Parser
		{
			get
			{
				return RogueReforgeFormulaSelectResult._parser;
			}
		}

		// Token: 0x17003316 RID: 13078
		// (get) Token: 0x0600B4AA RID: 46250 RVA: 0x001E76D8 File Offset: 0x001E58D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueReforgeFormulaSelectResultReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003317 RID: 13079
		// (get) Token: 0x0600B4AB RID: 46251 RVA: 0x001E76EA File Offset: 0x001E58EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueReforgeFormulaSelectResult.Descriptor;
			}
		}

		// Token: 0x0600B4AC RID: 46252 RVA: 0x001E76F1 File Offset: 0x001E58F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReforgeFormulaSelectResult()
		{
		}

		// Token: 0x0600B4AD RID: 46253 RVA: 0x001E76F9 File Offset: 0x001E58F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReforgeFormulaSelectResult(RogueReforgeFormulaSelectResult other) : this()
		{
			this.tournFormulaId_ = other.tournFormulaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B4AE RID: 46254 RVA: 0x001E771E File Offset: 0x001E591E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReforgeFormulaSelectResult Clone()
		{
			return new RogueReforgeFormulaSelectResult(this);
		}

		// Token: 0x17003318 RID: 13080
		// (get) Token: 0x0600B4AF RID: 46255 RVA: 0x001E7726 File Offset: 0x001E5926
		// (set) Token: 0x0600B4B0 RID: 46256 RVA: 0x001E772E File Offset: 0x001E592E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TournFormulaId
		{
			get
			{
				return this.tournFormulaId_;
			}
			set
			{
				this.tournFormulaId_ = value;
			}
		}

		// Token: 0x0600B4B1 RID: 46257 RVA: 0x001E7737 File Offset: 0x001E5937
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueReforgeFormulaSelectResult);
		}

		// Token: 0x0600B4B2 RID: 46258 RVA: 0x001E7745 File Offset: 0x001E5945
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueReforgeFormulaSelectResult other)
		{
			return other != null && (other == this || (this.TournFormulaId == other.TournFormulaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B4B3 RID: 46259 RVA: 0x001E7774 File Offset: 0x001E5974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TournFormulaId != 0U)
			{
				num ^= this.TournFormulaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B4B4 RID: 46260 RVA: 0x001E77B3 File Offset: 0x001E59B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B4B5 RID: 46261 RVA: 0x001E77BB File Offset: 0x001E59BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B4B6 RID: 46262 RVA: 0x001E77C4 File Offset: 0x001E59C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TournFormulaId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.TournFormulaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B4B7 RID: 46263 RVA: 0x001E77F8 File Offset: 0x001E59F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TournFormulaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TournFormulaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B4B8 RID: 46264 RVA: 0x001E7836 File Offset: 0x001E5A36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueReforgeFormulaSelectResult other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TournFormulaId != 0U)
			{
				this.TournFormulaId = other.TournFormulaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B4B9 RID: 46265 RVA: 0x001E7867 File Offset: 0x001E5A67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B4BA RID: 46266 RVA: 0x001E7870 File Offset: 0x001E5A70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TournFormulaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040048F9 RID: 18681
		private static readonly MessageParser<RogueReforgeFormulaSelectResult> _parser = new MessageParser<RogueReforgeFormulaSelectResult>(() => new RogueReforgeFormulaSelectResult());

		// Token: 0x040048FA RID: 18682
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048FB RID: 18683
		public const int TournFormulaIdFieldNumber = 2;

		// Token: 0x040048FC RID: 18684
		private uint tournFormulaId_;
	}
}
